Setup site folders on Apache and PHP [closed]

Posted by Cobus Kruger on Pro Webmasters See other posts from Pro Webmasters or by Cobus Kruger
Published on 2011-03-07T11:30:37Z Indexed on 2011/03/07 16:18 UTC
Read the original article Hit count: 410

Filed under:
|
|

I'm trying to set up my first Apache server on my Windows PC at home and I have real trouble finding out which configuration settings go where. I downloaded and installed XAMPP which seemed to get everything nicely set up and can see a working website on http://localhost. So far so good.

The point of this is to develop a website of course, and to make my life easier (irony?), I wanted to let the web site root point to my Eclipse project folder. So I opened httpd.conf, uncommented a VirtualHost block and changed its DocumentRoot to my local path.

Now when I try to load http://localhost I get a 403 (Access denied) error. So where do I configure permissions for my folder? And is that all I need to let my site run from the folder specified or am I going to have to clear another hurdle?

© Pro Webmasters or respective owner

Related posts about php

Related posts about apache